package Singleton;
class SingletonHuggery{
    private static SingletonHuggery sgh = new SingletonHuggery();

    private SingletonHuggery(){

    }
    public  static SingletonHuggery Gethuggery(){
        return sgh;
    }
}
public class demo2 {
    public static void main(String[] args) {
        SingletonHuggery sg1 = SingletonHuggery.Gethuggery();
    }
}
